package com.showcai.service;

import com.showcai.module.AdvertLocation;
import com.showcai.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * 广告显示区域接口
 * Created by Baggio on 2018-9-5.
 */
public interface AdvertLocationService {
    /**
     * 更新广告显示地区
     *
     * @param advertLocation
     * @throws MyRunTimeExcption
     */
    void modifyAdvertLocation(AdvertLocation advertLocation) throws MyRunTimeExcption;

    /**
     * 显示所有广告显示区域
     * @param map
     * @return
     * @throws MyRunTimeExcption
     */
    List<AdvertLocation> getAdvertLocationList(Map<String, String> map) throws MyRunTimeExcption;
}
